﻿//  Copyright (c) 2011 Ray Liang (http://www.dotnetage.com)
//  Licensed MIT: http://www.opensource.org/licenses/mit-license.php

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using DNA.Mvc.UI;

namespace DNA.Mvc.Publishing
{
    internal static class ResMan
    {
        internal static readonly string KEY_UNCATEGORIZED = "Uncategorized";
        internal static readonly string KEY_ARTNOTFOUND = "ArticleNotFound";
        internal static readonly string KEY_USERNAMEEXISTS = "UserNameExists";
        internal static readonly string KEY_EMAILEXISTS = "EmailExists";
        internal static readonly string KEY_DRAFTS = "Drafts";
        internal static readonly string KEY_LATESTUPDATED = "LatestUpdated";
        //internal static readonly string SA_MoveArticle = "SA_MoveArticle";

        internal static string LatestUpdated { get { return Loc(KEY_LATESTUPDATED); } }
        internal static string Drafts { get { return Loc(KEY_DRAFTS); } }
        internal static string EmailExists { get { return Loc(KEY_EMAILEXISTS); } }
        internal static string UserNameExists { get { return Loc(KEY_USERNAMEEXISTS); } }
        internal static string ArticleNotFound { get { return Loc(KEY_ARTNOTFOUND); } }
        internal static string Uncategorized { get { return Loc(KEY_UNCATEGORIZED); } }
        internal static string Loc(string key) { return GE.Global("publishing", key); }
    }
}
